import request from '@/utils/request'
/* 查询A列表  */
export function getAllClassification(data) {
  return request({
    url: '/getAllClassification',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
/* 新增/修改  */
export function saveClassification(data) {
  return request({
    url: '/saveClassification',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
/* 删除A  */
export function deleteClassificationA(data) {
  return request({
    url: '/deleteClassificationA',
    method: 'delete',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
/* 删除 listb  */
export function deleteClassificationB(data) {
  return request({
    url: '/deleteClassificationB',
    method: 'delete',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
